#/usr/bin/bash

if [ -f $HOME/.profile ]; then
        echo "$HOME/.profile already exist"
else
        ln -s `pwd`/profile $HOME/.profile
fi

if [ -f $HOME/.vimrc ]; then
        echo "$HOME/.vimrc already exist"
else
        ln -s `pwd`/vimrc $HOME/.vimrc
fi

if [ -f $HOME/.emacs.el ]; then
        echo "$HOME/.emacs.el already exist"
else
        ln -s `pwd`/emacs/init.el $HOME/.emacs.el
fi

if [ -f $HOME/.emacs.d/default.org ]; then
        echo "$HOME/.emacs.d/default.org already exist"
else 
        mkdir -p $HOME/.emacs.d/
        touch $HOME/.emacs.d/default.org
fi
